home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
pvm34b3.zip
/
pvm34b3
/
pvm3
/
hoster
/
Makefile.mak
< prev
next >
Wrap
Makefile
|
1997-07-22
|
1KB
|
50 lines
#
# $Id: Makefile.mak,v 1.1 1997/06/25 21:18:12 pvmsrc Exp $
#
#*************************************************************#
#** **#
#** Nmake file for the PVM hoster **#
#** hoster.exe **#
#** **#
#** **#
#*************************************************************#
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!include $(PVM_ROOT)\conf\$(PVM_ARCH).def
all: paths hoster.exe
#
paths:
if not exist "../bin/$(PVM_ARCH)/$(NULL)" mkdir "../bin/$(PVM_ARCH)"
if not exist "$(PVM_ARCH)/$(NULL)" mkdir "$(PVM_ARCH)"
hoster.exe: $(PVM_ARCH)/hoster.obj $(PVM_ARCH)/pvmwinrexec.obj
$(link) $(conflags) \
$(OUTBIN)$(PVM_ROOT)\bin\$(PVM_ARCH)\hoster.exe \
$(PVM_ARCH)/hoster.obj $(PVM_ARCH)/pvmwinrexec.obj \
$(PVM_ROOT)\lib\$(PVM_ARCH)\libpvm3.lib \
$(link_multithread) /nodefaultlib:libc.lib
$(PVM_ARCH)/hoster.obj: $(PVM_ROOT)\hoster\hoster.c
$(cc) $(cdebug) $(cflags) $(cvars) \
$(OUT)$(PVM_ARCH)/hoster.obj $(PVM_ROOT)\hoster\hoster.c
$(PVM_ARCH)/pvmwinrexec.obj: $(PVM_ROOT)\hoster\pvmwinrexec.c
$(cc) $(cdebug) $(cflags) $(cvars) \
$(OUT)$(PVM_ARCH)/pvmwinrexec.obj \
$(PVM_ROOT)\hoster\pvmwinrexec.c
# Clean up everything but the .EXEs
clean :
-del *.obj
-del *.pdb